package com.yqy.android.presenter;

import android.util.Log;

import com.android.base.module.base.RxPresenter;
import com.yqy.android.entity.UserInfo;

import javax.inject.Inject;

/**
 * Created by Administrator on 2016/12/15.
 */

public class TestPresenter extends RxPresenter{

    private UserInfo mUserInfo;
    @Inject
    public TestPresenter(UserInfo mUserInfo){
        this.mUserInfo = mUserInfo;
    }

    public void setString(String name){
        mUserInfo.setAccount(name);
        Log.d("yqy",mUserInfo.getAccount());
    }
}
